#include "dgs.h"
#include <QtWidgets/QApplication>
#include "cub/util_arch.cuh"

int main(int argc, char *argv[])
{
    QApplication app(argc, argv);
    QSurfaceFormat format;
    format.setVersion(4, 5);
    format.setProfile(QSurfaceFormat::CoreProfile);
    QSurfaceFormat::setDefaultFormat(format);
    dgs window;
    window.show();
    return app.exec();
    /*std::cout << "CUB_IS_HOST_CODE:" << CUB_IS_HOST_CODE << std::endl;
    std::cout << "CUB_INCLUDE_HOST_CODE:" << CUB_INCLUDE_HOST_CODE << std::endl;
    std::cout << "CUB_CPP_DIALECT:" << CUB_CPP_DIALECT << std::endl;
    size_t chunk_size = CudaRasterizer::required<CudaRasterizer::GeometryState>(2000000);
    std::cout << "chunk_size: " << chunk_size << " bytes" << std::endl;
    system("pause");*/
}
